package org.calrissian.restdoclet.model.type;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by admin on 2017/9/1.
 */
public class ParamTypeInfos {

    private Map<String, ParamTypeInfo> infos = new HashMap<>();

    public void add(ParamTypeInfo info) {
        infos.put(info.getFullTypeName(), info);
    }

    public ParamTypeInfo get(String fullTypeName) {
        return infos.get(fullTypeName);
    }

    public Map<String, ParamTypeInfo> getInfos() {
        return infos;
    }
}
